Move mark check to gtk_text_view_scroll_to_mark()
authorKristian Rietveld <kris@gtk.org>
Fri, 4 Sep 2009 14:38:04 +0000 (16:38 +0200)
committerKristian Rietveld <kris@gtk.org>
Fri, 4 Sep 2009 15:08:29 +0000 (17:08 +0200)
commitdcc87f7a6786065b919516b7c806e3f33c5c10a3
treea3722ca4804f5511a509eb06eeeaed41fa927720
parent4adcb39f86e972cad16f7758184248dcb34a382a
Move mark check to gtk_text_view_scroll_to_mark()

Also use a different means to check that the given mark is in the text
view's buffer.  This will also play nice with anonymous and NULL marks.
Suggested by Paolo Borelli.
gtk/gtktextview.c